<?
require_once("../config/dbconn.php");require_once("../config/powercls.php");
//
$sqlhy="select id,username from {$db_prefix}users where id='".$id."'";
$rshy=$db->get_one($sqlhy);

$_SESSION['sys_userid']=$rshy['id'];$_SESSION['sys_username']=$rshy['username'];$_SESSION['sys_hypwd1']='';

echo "<script>top.location.href='../user/index.php';</script>";exit();
?>